<% layout('../layouts/layout') %>
<% include ../../layouts/layout.header.ejs %>
<%- partial('../includes/breadCrumbs.ejs', {
breadCrumbs:[
{
'name':'首页', // 名称
'url':'/'        // url
},
{
'name':'市场准入', // 名称
'url':'javascript://'        // url
}
]
}) %>
<link rel="stylesheet" type="text/css" href="css/sczr.css" />
<div class="container">
	<div class="row">
		<!--<div class="text-center">
			<h1>正在建设中...25sdf</h1>
		</div>-->
		<div class="clearfix">
			<div class="col-xs-12 sczr-main">
				<!-- 本页导航栏 -->
				<div class="main-top col-xs-12">
					<ul>
						<li class="active">登记信息</li>
						<li>许可信息</li>
						<li>认证信息</li>
						<li>标准专利</li>
						<li>评级评测</li>
						<li>担保抵押</li>
					</ul>
				</div>

				<div class="clearfix"></div>
				<!-- 各类型信息列表 -->
				<% var sczrType = [ "登记信息", "许可信息", "认证信息", "标准专利", "评级评测", "担保抵押" ]; %>
				<% for( var i=0; i<6; i++ ){ %>
				<div class="sczr_list">
					<div class="title_top">
						<div class="colorCode"></div>
						<div class="title_content">
							<%= sczrType[i] %>
						</div>
					</div>
					<div class="content_list">
						<ul>
							<% if( dataSet[i].length > 0 ){ %>
								<% for( var j=0; j<dataSet[i].length; j++ ){ %>
								<li>
									<!--设置跳转到详情页面的锚点-->
									<%
									 	var anchor = '#';
										switch ( sczrType[i] ){
											case '登记信息': anchor = '#djxx'; break;
											case '许可信息': anchor = '#xkxx'; break;
											case '认证信息': anchor = '#rzxx'; break;
											case '标准专利': anchor = '#bzzl'; break;
											case '评级评测': anchor = '#pjpc'; break;
											case '担保抵押': anchor = '#dbdy'; break;
											default: anchor = '';
										}
									  %>
									<p>
										<a href="sczr/details?regNum=<%= dataSet[i][j].regNum %>&credNum=<%= dataSet[i][j].credNum %>&custName=<%= dataSet[i][j].custName %>&custId=<%= dataSet[i][j].custId %><%= anchor %>" class="companyName"><%= dataSet[i][j].custName %></a>
									</p>
									<% if( sczrType[i] == "许可信息"  ){ %>
										<p>
											<span class="bar_left">许可信息：<span><%= dataSet[i][j].certContent==null ? '':dataSet[i][j].certContent %></span></span>
											<span class="bar_right">许可文件编号：<span><%= dataSet[i][j].certCode==null ? '':dataSet[i][j].certCode %></span></span>
										</p>
										<p>
											<span class="bar_left">许可机关：<span><%= dataSet[i][j].certUnit==null ? '':dataSet[i][j].certUnit %></span></span>
											<span class="bar_right">有效期限：<span><%= dataSet[i][j].endDate==null ? '':dataSet[i][j].endDate %></span></span>
										</p>
									<% }else if( sczrType[i] == "认证信息" ){ %>
										<p>
											<span class="bar_left">证书名称：<span><%= dataSet[i][j].certificate==null ? '':dataSet[i][j].certificate %></span></span>
											<span class="bar_right">证书编号：<span><%= dataSet[i][j].certificateNum==null ? '':dataSet[i][j].certificateNum %></span></span>
										</p>
										<p>
											<span class="bar_left">认证机构：<span><%= dataSet[i][j].certUnit==null ? '':dataSet[i][j].certUnit %></span></span>
											<span class="bar_right">有效期限：<span><%= dataSet[i][j].validDate==null ? '':dataSet[i][j].validDate %></span></span>
										</p>
									<% }else if( sczrType[i] == "登记信息" ){ %>
										<p>
											<span class="bar_left">社会信用代码：<span><%= dataSet[i][j].credNum==null ? '':dataSet[i][j].credNum %></span></span>
											<span class="bar_right">注册号：<span><%= dataSet[i][j].regNum==null ? '':dataSet[i][j].regNum %></span></span>
										</p>
										<p>
											<span class="bar_left">企业法人：<span><%= dataSet[i][j].legalMan==null ? '':dataSet[i][j].legalMan %></span></span>
											<span class="bar_right">成立日期：<span><%= dataSet[i][j].publishDate==null ? '':dataSet[i][j].publishDate %></span></span>
										</p>
									<% }else if( sczrType[i] == "标准专利" ){ %>
										<p>
											<span class="bar_left">专利名称：<span><%= dataSet[i][j].pantentName==null ? '':dataSet[i][j].pantentName %></span></span>
											<span class="bar_right">专利编号：<span><%= dataSet[i][j].pantentNum==null ? '':dataSet[i][j].pantentNum %></span></span>
										</p>
										<p>
											<span class="bar_left">产品名称：<span><%= dataSet[i][j].productName==null ? '':dataSet[i][j].productName %></span></span>
											<span class="bar_right">登记日期：<span><%= dataSet[i][j].reginDate==null ? '':dataSet[i][j].reginDate %></span></span>
										</p>
									<% }else if( sczrType[i] == "评级评测" ){ %>
										<p>
											<span class="bar_left">评定类型：<span><%= dataSet[i][j].gradeType==null ? '':dataSet[i][j].gradeType %></span></span>
											<span class="bar_right">评定等级：<span><%= dataSet[i][j].grade==null ? '':dataSet[i][j].grade %></span></span>
										</p>
										<p>
											<span class="bar_left">评级机构：<span><%= dataSet[i][j].gradeUnit==null ? '':dataSet[i][j].gradeUnit %></span></span>
											<span class="bar_right">评定日期：<span><%= dataSet[i][j].gradeDate==null ? '':dataSet[i][j].gradeDate %></span></span>
										</p>
									<% }else if( sczrType[i] == "担保抵押" ){ %>
										<p>
											<span class="bar_left">登记证编号：<span><%= dataSet[i][j].dcdydjbh==null ? '':dataSet[i][j].dcdydjbh %></span></span>
											<span class="bar_right">担保范围：<span><%= dataSet[i][j].dbfw==null ? '':dataSet[i][j].dbfw %></span></span>
										</p>
										<p>
											<span class="bar_left">登记机关：<span><%= dataSet[i][j].djjg==null ? '':dataSet[i][j].djjg %></span></span>
											<span class="bar_right">履行期限：<span><%= dataSet[i][j].zwrlxzqdqxzh==null ? '':dataSet[i][j].zwrlxzqdqxzh %></span></span>
										</p>
									<% } %>
								</li>
								<% } %>
							<% }else{ %>
								<li>
									<p style="text-align: center;">暂无数据</p>
								</li>
							<% } %>	
						</ul>
						<% if( dataSet[i].length > 0 ){ %>
							<div class="more_footer">
								<a href="javascript:" sczrType="<%= i %>">更多>></a>
							</div>
						<% } %>	
					</div>
				</div>
				<% }  %>
			</div>
		</div>
	</div>
</div>
<% include ../../layouts/layout.footer.ejs %>
<script src="/js/sczr/sczr.js" type="text/javascript" charset="utf-8"></script>